package com.yxd.demo.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商家消费
 *
 * @author: yxd
 * @date: 2022/8/1 9:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Store {
    /**
     * 商家ID
     */
    private Long storeId;
    /**
     * 商家商品ID集合
     */
    private List<Product> productList;
    /**
     * 消费总金额
     */
    private BigDecimal totalPrice;
    /**
     * 优惠后金额
     */
    private BigDecimal finalPrice;
    /**
     * 用户id
     */
    private Long userId;
}
